package com.group9.service.impl;

import com.group9.mapper.UserInfoMapper;
import com.group9.service.UserLogonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 45865 on 2020/5/18.
 */
@Service
public class UserLogonServiceImpl implements UserLogonService {

    @Autowired
    UserInfoMapper userInfoMapper;
    @Override
    public int inserUserInfo(String userName, String pwd, String phone) {
        int rows = userInfoMapper.insertUserInfo(userName,pwd,phone);
        return rows;
    }
}
